package Aop.Component;

import Aop.Annotation.MyComponent;
import Aop.Annotation.Resource;

@MyComponent
public class MyService {
    @Resource
    private MyDao myDao;
    public void mi(){
        myDao.hi();
        System.out.println("mi");
    }
}
